package com.wanxi.spring.cloud.user.mapper;


import com.wanxi.spring.cloud.user.model.UserRole;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 蒋帆
 * @since 2020-12-21
 */
public interface UserRoleMapper {

    int updateUserRole(UserRole userRole);

    UserRole getUserRoleByUser(Integer userid);

    int addUserRole(UserRole userRole);

    int changeLeader(String leader);

    int removePreLeader(String leader);
}
